package com.mdb.open.epay.domain.bo;

import com.mdb.bc.api.data.DataObjectBase;
import com.mdb.open.epay.enums.type.ReconTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @author liuyi
 * @date 2019/11/14
 **/
@Data
@ApiModel(description="获取对账文件Dto")
public class GetReconFileBo extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    /**
     * 客户编码
     */
    @ApiModelProperty(value = "客户编码")
    @NotBlank(message = "客户编码不能为空")
    private String customerCode;

    /**
     * 对账日期
     */
    @ApiModelProperty(value = "对账日期")
    @NotNull(message = "对账日期不能为空")
    private LocalDate reconDate;

    /**
     * 对账文件类型
     */
    @ApiModelProperty(value = "对账文件类型")
    private ReconTypeEnum reconType;

}